package com.sq.auth.api.service;

import com.sq.auth.api.req.AuthUserDTO;
import com.sq.auth.api.resp.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author quan
 */
@FeignClient(name = "jc-club-auth")
public interface UserFeignService {
    @PostMapping("/user/getUserInfo")
    Result getUserInfo(@RequestBody AuthUserDTO authUserDTO);
}
